package com.dongchedi.mapper;

import com.dongchedi.entity.CustomerInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;
/**
 * @author leibidong
 * @description 用户个人详情mapper对象
 * @date 2021/6/23
 */
@Mapper
@Component
public interface CustomerInfoMapper {
    public CustomerInfo queryByCustomerId(Integer customerId);
    public Integer updateDesc(Integer customerId,String customerDesc);
    public Integer updatePic(Integer customerId ,String customerPicUrl);
    public Integer updateName(Integer customerId,String customerName);
    public  Integer initInsert(Integer customerId ,String customerName,String url,String desc, Timestamp createTime);
}
